from django.db import models
from django.core.validators import validate_comma_separated_integer_list


class Sign(models.Model):
    name = models.CharField(max_length=20)
    pem = models.CharField(max_length=60)
    pk8 = models.CharField(max_length=60)


class SignCompose(models.Model):
    name = models.CharField(max_length=20)
    sign = models.CharField(max_length=20, validators=[
                            validate_comma_separated_integer_list])
